DATEEDIT item definition
Defines attributes for a line-edit field with a calendar widget to pick a date.
Syntax
DATEEDIT item-tag = field-name [ , attribute-list ] ;
- item-tag is an identifier that defines thename of the item tag in the layout section.
- field-name identifies the name of the screen record field.
- attribute-list defines the aspect and behavior of the form item.
Form attributes
AUTONEXT, CENTURY, COLOR, COLOR WHERE, COMMENT, DEFAULT, FONTPITCH, FORMAT, HIDDEN, IMAGECOLUMN, INCLUDE, JUSTIFY, KEY, NOT NULL, NOENTRY, PLACEHOLDER, REQUIRED, REVERSE,SAMPLE, STRETCH, STRETCHMAX, STRETCHMIN, STYLE, TAG, TABINDEX, TITLE, UNSORTABLE, UNSIZABLE, UNHIDABLE, UNMOVABLE, VALIDATE LIKE.
Style attributes
Common: backgroundColor, border, fontFamily, fontSize, fontStyle, fontWeight, textColor, textDecoration.
Class-specific: buttonIcon, calendarType, daysOff, firstDayOfWeek, showCurrentMonthOnly, showWeekNumber.
Usage
Define the rendering and behavior of a date edit item tag,
with a DATEEDIT element in the ATTRIBUTES section.
For more details about this item type, see DATEEDIT item type.
Example
LAYOUT
GRID
{
[f1 ]
...
}
END
END
ATTRIBUTES
DATEEDIT f1 = order.shipdate;
...